hangup

abstract fun hangup(completion: CompletionHandler?)

Hang up and end the current ongoing call.

Usage Example

import io.trtc.tuikit.atomicxcore.api.call.*

CallStore.shared.hangup { code, message ->
}

Parameters

completion

Completion callback (success/failure status)